package cn.topevery.garden.entity.dto;

import cn.topevery.garden.entity.po.CureRecordFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * 防治记录 DTO
 *
 * @author code-generate
 * @date 2022-02-18
 */
@Data
@ApiModel(value = "CureRecordDTO", description = "防治记录 DTO")
public class CureRecordDTO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /** 树木编号 */
    @ApiModelProperty(value = "树木编号")
    private String treeCode;

    /** 记录时间 */
    @ApiModelProperty(value = "记录时间")
    private LocalDate recordDate;

    /** 发病时间 */
    @ApiModelProperty(value = "发病时间")
    private LocalDate diseaseDate;

    /** 症状描述 */
    @ApiModelProperty(value = "症状描述")
    private String desc;

    /** 防止措施 */
    @ApiModelProperty(value = "防止措施")
    private String measure;

    /** 是否会诊 0 否 1 是  */
    @ApiModelProperty(value = "是否会诊 0 否 1 是 ")
    private Integer consultationStatus;

    /** 会诊时间 */
    @ApiModelProperty(value = "会诊时间")
    private LocalDate consultationDate;

    /** 会诊记录 */
    @ApiModelProperty(value = "会诊记录")
    private String consultationRecord;

    /** 恢复时间 */
    @ApiModelProperty(value = "恢复时间")
    private LocalDate recoverDate;

    /** 附件 */
    @ApiModelProperty(value = "附件url")
    private String fileUrl;

    @ApiModelProperty(value = "附件")
    private List<CureRecordFile> fileList;

}
